Micron Document
<!DOCTYPE html>
<html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-0 vector-toc-not-available vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-0 vector-feature-night-mode-enabled skin-theme-clientpref-os vector-sticky-header-enabled" lang="fr" dir="ltr"><head>
<meta charset="UTF-8">
<title>IronPython</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="./_res_/favicon.png">
<link rel="canonical" href="https://fr.wikipedia.org/wiki/IronPython"> <link href="./_mw_/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.pygments.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.wikimediamessages.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./_mw_/site.styles.css">
<link rel="stylesheet" type="text/css" href="./_mw_/noscript.css">
<link rel="stylesheet" type="text/css" href="./_res_/footer.css">
<link rel="stylesheet" type="text/css" href="./_res_/vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-IronPython rootpage-IronPython skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-main">IronPython</span></h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="contentSub">
<div id="mw-content-subtitle"></div>
</div>
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="fr" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="fr" dir="ltr">
<div class="infobox_v3 infobox infobox--frwiki noarchive" style="width:260px">
<div class="entete icon informatique" style="background-color: #5C7436; color: #000000;"><style data-mw-deduplicate="TemplateStyles:r228712691">
/* start https://fr.wikipedia.org/ */


.mw-parser-output .entete.informatique{background-image:url("./_mw_/Picto.nfo.png")}


/* end https://fr.wikipedia.org/ */
</style>
<div>IronPython</div>
</div>
<div class="images">
</div>
<p class="mw-empty-elt">

</p>
<table><caption style="background-color:#5C7436;color:#000000;">Informations</caption>



<tbody><tr>
<th scope="row"><a href="D%C3%A9veloppeur" title="Développeur">Développé par</a></th>
<td>
Jim Hugunin</td>
</tr>



<tr>
<th scope="row"> <a href="Version_d'un_logiciel" title="Version d'un logiciel">Première version</a>
</th>
<td>
<span class="wd_p571"><time class="nowrap" datetime="2006-09-05" data-sort-value="2006-09-05">5 septembre 2006</time></span></td>
</tr>

<tr>
<th scope="row"> <a href="Version_d'un_logiciel" title="Version d'un logiciel">Dernière version</a>
</th>
<td>
<span class="wd_p348">3.4.2 (<time class="nowrap" datetime="2024-12-20" data-sort-value="2024-12-20">20 décembre 2024</time>)<sup id="cite_ref-wikidata-90712fa559a5569f2d715ebf439c8d1473596683_1-0" class="reference"><a href="#cite_note-wikidata-90712fa559a5569f2d715ebf439c8d1473596683-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup></span></td>
</tr>



<tr>
<th scope="row"><a href="D%C3%A9p%C3%B4t_(informatique)" title="Dépôt (informatique)">Dépôt</a></th>
<td>
<span class="wd_p1324"><a rel="nofollow" class="external text" href="https://github.com/IronLanguages/ironpython3">github.com/IronLanguages/ironpython3</a></span></td>
</tr>





<tr>
<th scope="row"> <a href="Langage_de_programmation" title="Langage de programmation">Écrit en</a>
</th>
<td>
<span class="wd_p277"><a href="C_Sharp" title="C Sharp">C#</a> et <a href="Python_(langage)" title="Python (langage)">Python</a></span></td>
</tr>







<tr>
<th scope="row"><a href="Plateforme_informatique" title="Plateforme informatique">Environnement</a></th>
<td>
<a href="Framework_.NET" class="mw-redirect" title="Framework .NET">.NET</a>, <a href="Mono_(logiciel)" title="Mono (logiciel)">Mono</a></td>
</tr>









<tr>
<th scope="row"> Type
</th>
<td>
<span class="wd_p31"><a href="Interpr%C3%A8te_(informatique)" title="Interprète (informatique)">Interprète</a><br>Implémentation d'un langage de programmation <small>(<a href="https://en.wikipedia.org/wiki/Programming_language_implementation" class="extiw external" title="en:Programming language implementation"><span class="indicateur-langue" title="Article sur Wikipédia en anglais">en</span></a>)</small></span></td>
</tr>



<tr>
<th scope="row"><a href="Licence_de_logiciel" title="Licence de logiciel">Licence</a></th>
<td>
<span class="wd_p275"><a href="Licence_Apache" title="Licence Apache">Licence Apache 2.0</a></span></td>
</tr>



<tr>
<th scope="row"><a href="Site_web" title="Site web">Site web</a></th>
<td>
<span class="wd_p856"><a rel="nofollow" class="external text" href="https://ironpython.net">ironpython.net</a></span></td>
</tr>

</tbody></table>
<p class="mw-empty-elt">

</p>
</div>
<p><b>IronPython</b>, qui peut être considéré comme le <a href="R%C3%A9troacronymie" title="Rétroacronymie">rétroacronyme</a> de <b>I</b>mplementation <b>R</b>unning <b>O</b>n .<b>N</b>ET<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> ou de <b>I</b>t <b>R</b>uns <b>O</b>n .<b>N</b>ET<sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup>, est une implémentation du <a href="Python_(langage)" title="Python (langage)">langage Python</a>, visant <a href="Microsoft_.NET" title="Microsoft .NET">.NET</a> et <a href="Mono_(informatique)" class="mw-redirect" title="Mono (informatique)">Mono</a>, créée par Jim Hugunin. La version 1.0 est sortie le <time class="nowrap" datetime="2006-09-05" data-sort-value="2006-09-05">5 septembre 2006</time>.
</p><p>IronPython est écrit entièrement en <a href="C_sharp" class="mw-redirect" title="C sharp">C#</a>. Il est disponible comme partie de l'initiative <a href="Shared_source" class="mw-redirect" title="Shared source">Shared source</a> de <a href="Microsoft" title="Microsoft">Microsoft</a>. Bien qu'à l'origine placé sous la licence <a href="Common_Public_License" title="Common Public License">Common Public License</a>, il garde une partie de son héritage, et son code source semble «&nbsp;plus accessible&nbsp;» que d'autres objets placés sous la Shared Source initiative. Les auteurs affirment que la licence, bien que non examinée par l'<a href="Open_Source_Initiative" title="Open Source Initiative">Open Source Initiative</a>, est conforme à leur <a href="Open_Source_Definition" title="Open Source Definition">définition</a> de l'<a href="Open_source" title="Open source">open source</a>.
</p>

<div class="mw-heading mw-heading2"><h2 id="Version">Version</h2></div>
<p>La version 1.1 est compatible <a href="CPython" title="CPython">CPython</a> 2.4.4.
</p><p>La version 2.0 est compatible CPython 2.5 et peut s'exécuter sur la <a href="Common_Language_Runtime" title="Common Language Runtime">machine virtuelle</a> de Microsoft grâce à la <a href="Dynamic_Language_Runtime" title="Dynamic Language Runtime">surcouche pour langages interprétés</a> qui permet de supporter d'autres langages que ceux supportés par défaut par le système d'exploitation Windows de Microsoft.
</p><p>Le portage de Python sous .Net permet de bénéficier des avantages du langage Python (syntaxe, accès aux <a href="Biblioth%C3%A8que_logicielle" title="Bibliothèque logicielle">bibliothèques</a> Python) et du <a href="Framework_.NET" class="mw-redirect" title="Framework .NET">Framework .NET</a> qui bénéficie du travail de Microsoft fait sur les <a href="Microsoft_foundation_class" class="mw-redirect" title="Microsoft foundation class">MFC</a>.
</p>
<div class="mw-heading mw-heading2"><h2 id="Silverlight">Silverlight</h2></div>
<p>IronPython est pris en charge sur Silverlight (qui est obsolète par Microsoft et a déjà perdu la prise en charge de la plupart des navigateurs Web, à l'exception d'<a href="Internet_Explorer" title="Internet Explorer">Internet Explorer</a> 11 qui mettra fin à sa prise en charge en octobre 2021)<sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup>.
</p><p>Il peut être utilisé comme moteur de script dans le navigateur, tout comme le moteur <a href="JavaScript" title="JavaScript">JavaScript</a><sup id="cite_ref-5" class="reference"><a href="#cite_note-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup>. Les scripts IronPython sont transmis comme de simples scripts JavaScript côté client dans les balises &lt;script&gt;. Il est alors également possible de modifier le balisage <a href="XAML" title="XAML">XAML</a> intégré.
</p>
<div class="mw-highlight mw-highlight-lang-html mw-content-ltr" dir="ltr"><pre><span></span>// DLR initialization script.
<span class="p">&lt;</span><span class="nt">script</span> <span class="na">src</span><span class="o">=</span><span class="s">"http://gestalt.ironpython.net/dlr-latest.js"</span> <span class="na">type</span><span class="o">=</span><span class="s">"text/javascript"</span><span class="p">&gt;&lt;/</span><span class="nt">script</span><span class="p">&gt;</span>

// Client-side script passed to IronPython and Silverlight.
<span class="p">&lt;</span><span class="nt">script</span> <span class="na">type</span><span class="o">=</span><span class="s">"text/python"</span><span class="p">&gt;</span>
<span class="w"> </span><span class="nb">window</span><span class="p">.</span><span class="nx">Alert</span><span class="p">(</span><span class="s2">"Hello from Python"</span><span class="p">)</span>
<span class="p">&lt;/</span><span class="nt">script</span><span class="p">&gt;</span>
</pre></div>
<p>La technologie sous-jacente s'appelle la Gestalt.
</p>
<div class="mw-heading mw-heading2"><h2 id="Outils">Outils</h2></div>
<p>Plusieurs environnements supportent IronPython&nbsp;: <a href="Framework_.NET" class="mw-redirect" title="Framework .NET">Microsoft .NET</a> et <a href="Mono_(logiciel)" title="Mono (logiciel)">Mono</a>.
</p>
<ul><li>Sous Microsoft .NET, les outils Visual Studio supportent IronPython depuis la version 5 par installation de Visual Studio 2005 SDK version 4.0. IronPython Studio <a rel="nofollow" class="external autonumber" href="http://ironpython-urls.blogspot.com/2007/12/ironpython-studio-now-available.html">[1]</a>, basé sur Visual Studio 2008 Shell Runtime, permet d'avoir un IDE gratuit.</li>
<li>Sous <a href="Linux" title="Linux">Linux</a>, le projet Mono propose une image VMware du système d'exploitation <a href="SuSE" class="mw-redirect" title="SuSE">SuSE</a> avec l'<a href="Environnement_de_d%C3%A9veloppement_int%C3%A9gr%C3%A9" class="mw-redirect" title="Environnement de développement intégré">IDE</a> <a href="MonoDevelop" title="MonoDevelop">MonoDevelop</a> qui supporte <a href="Mono_(logiciel)" title="Mono (logiciel)">Mono</a> 1.1.16.1 et IronPython 1.0 RC2.</li>
<li>Eclipse4sl <a rel="nofollow" class="external autonumber" href="http://www.eclipse4sl.org/">[2]</a></li>
<li>IronPython IDE <a rel="nofollow" class="external autonumber" href="http://lynanda.com/mediawiki/index.php/Main_Page">[3]</a></li></ul>
<p>IronPython fonctionne avec <a href="Microsoft_Silverlight" class="mw-redirect" title="Microsoft Silverlight">Silverlight</a> et <a href="Liste_des_logiciels_SIG#Commerciaux" title="Liste des logiciels SIG">Manifold GIS System</a>
</p>
<div class="mw-heading mw-heading2"><h2 id="Références_et_notes"><span id="R.C3.A9f.C3.A9rences_et_notes"></span>Références et notes</h2></div>
<div class="references-small decimal" style=""><div class="mw-references-wrap"><ol class="references">
<li id="cite_note-wikidata-90712fa559a5569f2d715ebf439c8d1473596683-1"><span class="mw-cite-backlink"><a href="#cite_ref-wikidata-90712fa559a5569f2d715ebf439c8d1473596683_1-0">↑</a> </span><span class="reference-text"><span class="ouvrage">«&nbsp;<a rel="nofollow" class="external text" href="https://github.com/IronLanguages/ironpython3/releases/tag/v3.4.2"><cite style="font-style:normal;"><span class="lang-en" lang="en">Release 3.4.2</span></cite></a>&nbsp;», <time class="nowrap" datetime="2024-12-20" data-sort-value="2024-12-20">20 décembre 2024</time> <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2024-12-24" data-sort-value="2024-12-24">24 décembre 2024</time>)</small></span></span>
</li>
<li id="cite_note-2"><span class="mw-cite-backlink"><a href="#cite_ref-2">↑</a> </span><span class="reference-text">Se référer à <a rel="nofollow" class="external text" href="http://channel9.msdn.com/blogs/pdc2008/tl10">la présentation vidéo de l'auteur</a> à 15 min 30 s</span>
</li>
<li id="cite_note-3"><span class="mw-cite-backlink"><a href="#cite_ref-3">↑</a> </span><span class="reference-text"><span class="ouvrage">«&nbsp;<a rel="nofollow" class="external text" href="http://stackoverflow.com/questions/1194309/why-are-many-ports-of-languages-to-net-prefixed-with-iron"><cite style="font-style:normal;">Why are many ports of languages to .net prefixed with ’Iron’?</cite></a>&nbsp;», sur <span class="italique">Stack Overflow</span> <small style="line-height:1em;">(consulté le <time class="nowrap" datetime="2020-09-16" data-sort-value="2020-09-16">16 septembre 2020</time>)</small></span>.</span>
</li>
<li id="cite_note-4"><span class="mw-cite-backlink"><a href="#cite_ref-4">↑</a> </span><span class="reference-text"><span class="ouvrage" id="Shaw2017"><span class="ouvrage" id="Zed_Shaw2017">Zed Shaw, <cite class="italique">Learn Python the hard way</cite>, Addison-Wesley Professional, <time>2017</time> <small style="line-height:1em;">(<a href="International_Standard_Book_Number" title="International Standard Book Number">ISBN</a>&nbsp;<span class="nowrap">978-0134692883</span>, <a rel="nofollow" class="external text" href="https://python.engineering/learn-python-the-hard-way/">lire en ligne</a>)</small><span class="Z3988" title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Learn+Python+the+hard+way&amp;rft.pub=Addison-Wesley+Professional&amp;rft.aulast=Shaw&amp;rft.aufirst=Zed&amp;rft.date=2017&amp;rft_id=https%3A%2F%2Fpython.engineering%2Flearn-python-the-hard-way%2F&amp;rfr_id=info%3Asid%2Ffr.wikipedia.org%3AIronPython"></span></span></span></span>
</li>
<li id="cite_note-5"><span class="mw-cite-backlink"><a href="#cite_ref-5">↑</a> </span><span class="reference-text"><span class="ouvrage"><span class="noarchive">«&nbsp;<a rel="nofollow" class="external text" href="http://ironpython.net/browser/"><cite style="font-style:normal;">Write browser applications in Python</cite></a>&nbsp;» <small class=" cachelinks">[<a rel="nofollow" class="external text" href="https://web.archive.org/web/20130317012431/http://ironpython.net/browser/">archive du <time class="nowrap" datetime="2013-03-17" data-sort-value="2013-03-17">17 mars 2013</time></a>]</small></span>, sur <span class="italique">IronPython.net</span></span></span>
</li>
</ol></div>
</div>
<div class="mw-heading mw-heading2"><h2 id="Liens_externes">Liens externes</h2></div>
<ul><li><cite class="ouvrage" id="site_officiel" style="font-style: normal;"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> <a rel="nofollow" class="external text" href="http://www.ironpython.net/">Site officiel</a></cite></li>
<li><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> <a rel="nofollow" class="external text" href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython">Site web du projet</a></li></ul>
<div class="navbox-container" style="clear:both;">


</div>
<ul id="bandeau-portail" class="bandeau-portail"><li><span class="bandeau-portail-element"><span class="bandeau-portail-icone"><span class="noviewer" typeof="mw:File"></span></span> <span class="bandeau-portail-texte">Portail de Microsoft</span> </span></li> <li><span class="bandeau-portail-element"><span class="bandeau-portail-icone"><span class="noviewer" typeof="mw:File"></span></span> <span class="bandeau-portail-texte">Portail de la programmation informatique</span> </span></li> </ul></div><!--htdig_noindex--><div><div class="zim-footer">
Cet article est issu de <a class="external text" title="Dernière modification le 2024-11-28" href="https://fr.wikipedia.org/wiki/?title=IronPython&amp;oldid=220685533">Wikipédia</a>. Sauf mention contraire, le texte est disponible sous <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.fr">Creative Commons Attribution-Share Alike 4.0</a>. Des conditions supplémentaires peuvent s’appliquer aux fichiers multimédias.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
<script src="./_webp_/webpHandler.js"></script>

</body></html>